﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;
using System.IO;
namespace Log4NetConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            FileSystemWatcher w = new FileSystemWatcher();
            //w.Filter
            //log4net.Config.XmlConfigurator.Configure();
            // Console.WriteLine(System.AppDomain.CurrentDomain.SetupInformation.ConfigurationFile);
            //Console.WriteLine(System.AppDomain.CurrentDomain.BaseDirectory);
            ILog loger = LogManager.GetLogger(typeof(Program));
           // ILog loger = LogManager.GetLogger("MyLogger");
            
            loger.Debug("开始log了");
            loger.Info("开始log了");
            Console.Read();
        }
    }
}
